package com.jwx.mycar.mapper;

import com.jwx.mycar.entity.po.Stat;
import org.apache.ibatis.annotations.Mapper;

/**
 * @description:
 * @author: jwx
 * @time: 2019/12/4 20:04
 */
@Mapper
public interface StatMapper {
    public boolean add(Stat stat);

    Integer queryUpCountBypicIdAndUserId(String picId, String userId);

    void update(Integer count, String picId, String userId);

    Integer getAllUpCount(String picId);

    int getAllUpCountByUserId(String userId);
}
